import java.io.*;
import java.util.ArrayList;
import java.util.Random;

public class laixi1 {
    public static void main(String[] args) {
        try (BufferedReader dis=new BufferedReader(new FileReader("data.txt"));){

            String s=null;
            ArrayList<String> list=new ArrayList<>();
            while ((s=dis.readLine())!=null){
                list.add(s);
            }
//        创建随时数
            Random random = new Random();
            int r= random.nextInt(list.size());
            System.out.println(list.get(r));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
